import request from "../utils/axios";

export const addRate = (params:any) => {
    return request.post(`/api/comment/addRate`, params)
}

export const getLimitCommentByMovieId = (params:any) => {
    return request.get(`/api/comment/getLimitCommentByMovieId/${params.movieId}/${params.currentPage}`)
}
